package com.activity;

public class LocationActivity /* extends MapActivity */ 
{
	/*private MapView	 mMapView;
	private MapController mMapController; 
	private GeoPoint mGeoPoint;
	*//** Called when the mainPage is first created. *//*
	@Override
	public void onCreate(Bundle savedInstanceState)
	{
		super.onCreate(savedInstanceState);
		setContentView(R.layout.location);
		mMapView = (MapView) findViewById(R.id.locationView);
		//mMapView.setTraffic(true);
		mMapView.setSatellite(true); 
		mMapController = mMapView.getController(); 
		mMapView.setEnabled(true);
		mMapView.setClickable(true);
		mMapView.setBuiltInZoomControls(true); 
		Bundle locationBundle = getIntent().getExtras(); 
		int longitude = locationBundle.getInt("LONGITUDE");
		int latitude = locationBundle.getInt("LATITUDE");
		mGeoPoint = new GeoPoint(longitude,latitude);
		mMapController.animateTo(mGeoPoint); 
		mMapController.setZoom(12); 
        MyLocationOverlay myLocationOverlay = new MyLocationOverlay();
        List<Overlay> list = mMapView.getOverlays();
        list.add(myLocationOverlay);
	}
	@Override
	protected boolean isRouteDisplayed()
	{
		return false;
	}
	class MyLocationOverlay extends Overlay
	{
		@Override
		public boolean draw(Canvas canvas, MapView mapView, boolean shadow, long when)
		{
			super.draw(canvas, mapView, shadow);
			Paint paint = new Paint();
			Point myScreenCoords = new Point();
			mapView.getProjection().toPixels(mGeoPoint, myScreenCoords);
			paint.setStrokeWidth(1);
			paint.setARGB(255, 255, 0, 0);
			paint.setStyle(Paint.Style.STROKE);
			canvas.drawText("fakeFriend location", myScreenCoords.x, myScreenCoords.y, paint);
			return true;
		}
		
	}
*/	
}

